home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 6.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 64 65 6c |piled by| rms@del|
|00000020| 61 73 79 64 2e 67 6e 75 | 2e 61 69 2e 6d 69 74 2e |asyd.gnu|.ai.mit.|
|00000030| 65 64 75 20 6f 6e 20 57 | 65 64 20 4d 61 79 20 20 |edu on W|ed May |
|00000040| 31 20 31 33 3a 34 35 3a | 34 31 20 31 39 39 36 0a |1 13:45:|41 1996.|
|00000050| 3b 3b 3b 20 66 72 6f 6d | 20 66 69 6c 65 20 2f 68 |;;; from| file /h|
|00000060| 6f 6d 65 2f 66 73 66 2f | 72 6d 73 2f 65 31 39 2f |ome/fsf/|rms/e19/|
|00000070| 6c 69 73 70 2f 63 61 6c | 2d 6a 75 6c 69 61 6e 2e |lisp/cal|-julian.|
|00000080| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|00000090| 73 69 6f 6e 20 31 39 2e | 33 30 2e 39 39 2e 34 2e |sion 19.|30.99.4.|
|000000a0| 0a 3b 3b 3b 20 62 79 74 | 65 63 6f 6d 70 20 76 65 |.;;; byt|ecomp ve|
|000000b0| 72 73 69 6f 6e 20 46 53 | 46 20 32 2e 31 30 0a 3b |rsion FS|F 2.10.;|
|000000c0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000d0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|000000e0| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|000000f0| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000100| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 38 |xist in |Emacs 18|
|00000110| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000120| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000130| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000140| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|00000150| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|00000160| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|00000170| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|00000180| 73 2d 76 65 72 73 69 6f | 6e 20 22 31 39 2e 32 39 |s-versio|n "19.29|
|00000190| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|000001a0| 22 60 63 61 6c 2d 6a 75 | 6c 69 61 6e 2e 65 6c 27 |"`cal-ju|lian.el'|
|000001b0| 20 77 61 73 20 63 6f 6d | 70 69 6c 65 64 20 66 6f | was com|piled fo|
|000001c0| 72 20 45 6d 61 63 73 20 | 31 39 2e 32 39 20 6f 72 |r Emacs |19.29 or|
|000001d0| 20 6c 61 74 65 72 22 29 | 29 0a 0a 0a 28 72 65 71 | later")|)...(req|
|000001e0| 75 69 72 65 20 28 71 75 | 6f 74 65 20 63 61 6c 65 |uire (qu|ote cale|
|000001f0| 6e 64 61 72 29 29 0a 23 | 40 31 38 35 20 43 6f 6d |ndar)).#|@185 Com|
|00000200| 70 75 74 65 20 74 68 65 | 20 4a 75 6c 69 61 6e 20 |pute the| Julian |
|00000210| 28 6d 6f 6e 74 68 20 64 | 61 79 20 79 65 61 72 29 |(month d|ay year)|
|00000220| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 74 | corresp|onding t|
|00000230| 6f 20 74 68 65 20 61 62 | 73 6f 6c 75 74 65 20 44 |o the ab|solute D|
|00000240| 41 54 45 2e 0a 54 68 65 | 20 61 62 73 6f 6c 75 74 |ATE..The| absolut|
|00000250| 65 20 64 61 74 65 20 69 | 73 20 74 68 65 20 6e 75 |e date i|s the nu|
|00000260| 6d 62 65 72 20 6f 66 20 | 64 61 79 73 20 65 6c 61 |mber of |days ela|
|00000270| 70 73 65 64 20 73 69 6e | 63 65 20 74 68 65 20 28 |psed sin|ce the (|
|00000280| 69 6d 61 67 69 6e 61 72 | 79 29 0a 47 72 65 67 6f |imaginar|y).Grego|
|00000290| 72 69 61 6e 20 64 61 74 | 65 20 53 75 6e 64 61 79 |rian dat|e Sunday|
|000002a0| 2c 20 44 65 63 65 6d 62 | 65 72 20 33 31 2c 20 31 |, Decemb|er 31, 1|
|000002b0| 20 42 43 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 | BC...(d|efalias |
|000002c0| 27 63 61 6c 65 6e 64 61 | 72 2d 6a 75 6c 69 61 6e |'calenda|r-julian|
|000002d0| 2d 66 72 6f 6d 2d 61 62 | 73 6f 6c 75 74 65 20 23 |-from-ab|solute #|
|000002e0| 5b 28 64 61 74 65 29 20 | 22 08 c1 5c 5c c2 a5 89 |[(date) |"..\\...|
|000002f0| 1b 89 c4 1d 1e 06 08 c7 | c8 89 0e 06 54 45 21 59 |........|....TE!Y|
|00000300| 83 25 00 0d c8 5c 5c 15 | 0e 06 54 16 06 82 5c 66 |.%...\\.|..T...\f|
|00000310| 00 0d 2a 5c 5c 1e 09 c8 | c4 1d 1e 5c 6e 08 c7 0e |..*\\...|...\n...|
|00000320| 5c 6e 89 c1 55 83 46 00 | 0e 09 cb a6 c4 55 83 46 |\n..U.F.|.....U.F|
|00000330| 00 cc 82 4b 00 cd 0e 5c | 6e 53 48 0e 09 45 21 56 |...K...\|nSH..E!V|
|00000340| 83 5f 00 0d c8 5c 5c 15 | 0e 5c 6e 54 16 5c 6e 82 |._...\\.|.\nT.\n.|
|00000350| 2f 00 0d 2a 54 1e 0e 08 | c7 0e 0e c8 0e 09 45 21 |/..*T...|......E!|
|00000360| 53 5a 1e 0f 0e 0e 0e 0f | 0e 09 45 2c 87 22 20 5b |SZ......|..E,." [|
|00000370| 64 61 74 65 20 32 20 33 | 36 36 20 61 70 70 72 6f |date 2 3|66 appro|
|00000380| 78 20 30 20 73 75 6d 20 | 79 20 63 61 6c 65 6e 64 |x 0 sum |y calend|
|00000390| 61 72 2d 61 62 73 6f 6c | 75 74 65 2d 66 72 6f 6d |ar-absol|ute-from|
|000003a0| 2d 6a 75 6c 69 61 6e 20 | 31 20 79 65 61 72 20 6d |-julian |1 year m|
|000003b0| 20 34 20 32 39 20 5b 33 | 31 20 32 38 20 33 31 20 | 4 29 [3|1 28 31 |
|000003c0| 33 30 20 33 31 20 33 30 | 20 33 31 20 33 31 20 33 |30 31 30| 31 31 3|
|000003d0| 30 20 33 31 20 33 30 20 | 33 31 5d 20 6d 6f 6e 74 |0 31 30 |31] mont|
|000003e0| 68 20 64 61 79 5d 20 37 | 20 28 23 24 20 2e 20 35 |h day] 7| (#$ . 5|
|000003f0| 30 39 29 5d 29 0a 23 40 | 31 33 35 20 54 68 65 20 |09)]).#@|135 The |
|00000400| 6e 75 6d 62 65 72 20 6f | 66 20 64 61 79 73 20 65 |number o|f days e|
|00000410| 6c 61 70 73 65 64 20 62 | 65 74 77 65 65 6e 20 74 |lapsed b|etween t|
|00000420| 68 65 20 47 72 65 67 6f | 72 69 61 6e 20 64 61 74 |he Grego|rian dat|
|00000430| 65 20 31 32 2f 33 31 2f | 31 20 42 43 20 61 6e 64 |e 12/31/|1 BC and|
|00000440| 20 44 41 54 45 2e 0a 54 | 68 65 20 47 72 65 67 6f | DATE..T|he Grego|
|00000450| 72 69 61 6e 20 64 61 74 | 65 20 53 75 6e 64 61 79 |rian dat|e Sunday|
|00000460| 2c 20 44 65 63 65 6d 62 | 65 72 20 33 31 2c 20 31 |, Decemb|er 31, 1|
|00000470| 20 42 43 20 69 73 20 69 | 6d 61 67 69 6e 61 72 79 | BC is i|maginary|
|00000480| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 63 61 |...(defa|lias 'ca|
|00000490| 6c 65 6e 64 61 72 2d 61 | 62 73 6f 6c 75 74 65 2d |lendar-a|bsolute-|
|000004a0| 66 72 6f 6d 2d 6a 75 6c | 69 61 6e 20 23 5b 28 64 |from-jul|ian #[(d|
|000004b0| 61 74 65 29 20 22 08 89 | 18 40 29 08 89 18 41 40 |ate) "..|.@)...A@|
|000004c0| 29 08 89 18 41 41 40 29 | 19 1a 1b 08 89 18 89 18 |)...AA@)|........|
|000004d0| 40 29 1b 08 89 18 41 40 | 29 1a 08 89 18 41 41 40 |@)....A@|)....AA@|
|000004e0| 29 19 5c 6e 0b 53 c4 5f | 5c 5c 1d 0b c6 56 83 62 |).\n.S._|\\...V.b|
|000004f0| 00 0d 0b c7 5f c8 5c 5c | c9 a5 5a 15 09 89 19 c7 |...._.\\|..Z.....|
|00000500| a6 ca 55 85 5b 00 09 cb | a6 ca 55 3f 86 5b 00 09 |..U.[...|..U?.[..|
|00000510| cc a6 ca 55 29 83 62 00 | 0d 54 15 0d 2d 09 cb a6 |...U).b.|.T..-...|
|00000520| ca 55 83 7e 00 09 cc a6 | ca 55 84 7e 00 0b c6 56 |.U.~....|.U.~...V|
|00000530| 83 7e 00 cd 82 7f 00 ca | 5c 5c 09 53 ce 5f 5c 5c |.~......|\\.S._\\|
|00000540| 09 53 c7 a5 5c 5c cf 5c | 5c 2b 87 22 20 5b 64 61 |.S..\\.\|\+." [da|
|00000550| 74 65 20 79 65 61 72 20 | 64 61 79 20 6d 6f 6e 74 |te year |day mont|
|00000560| 68 20 33 31 20 64 61 79 | 2d 6f 66 2d 79 65 61 72 |h 31 day|-of-year|
|00000570| 20 32 20 34 20 32 33 20 | 31 30 20 30 20 31 30 30 | 2 4 23 |10 0 100|
|00000580| 20 34 30 30 20 31 20 33 | 36 35 20 2d 32 5d 20 35 | 400 1 3|65 -2] 5|
|00000590| 20 28 23 24 20 2e 20 31 | 30 32 30 29 5d 29 0a 23 | (#$ . 1|020)]).#|
|000005a0| 40 31 34 32 20 53 74 72 | 69 6e 67 20 6f 66 20 4a |@142 Str|ing of J|
|000005b0| 75 6c 69 61 6e 20 64 61 | 74 65 20 6f 66 20 47 72 |ulian da|te of Gr|
|000005c0| 65 67 6f 72 69 61 6e 20 | 44 41 54 45 2e 0a 44 65 |egorian |DATE..De|
|000005d0| 66 61 75 6c 74 73 20 74 | 6f 20 74 6f 64 61 79 27 |faults t|o today'|
|000005e0| 73 20 64 61 74 65 20 69 | 66 20 44 41 54 45 20 69 |s date i|f DATE i|
|000005f0| 73 20 6e 6f 74 20 67 69 | 76 65 6e 2e 0a 44 72 69 |s not gi|ven..Dri|
|00000600| 76 65 6e 20 62 79 20 74 | 68 65 20 76 61 72 69 61 |ven by t|he varia|
|00000610| 62 6c 65 20 60 63 61 6c | 65 6e 64 61 72 2d 64 61 |ble `cal|endar-da|
|00000620| 74 65 2d 64 69 73 70 6c | 61 79 2d 66 6f 72 6d 27 |te-displ|ay-form'|
|00000630| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 63 61 |...(defa|lias 'ca|
|00000640| 6c 65 6e 64 61 72 2d 6a | 75 6c 69 61 6e 2d 64 61 |lendar-j|ulian-da|
|00000650| 74 65 2d 73 74 72 69 6e | 67 20 23 5b 28 26 6f 70 |te-strin|g #[(&op|
|00000660| 74 69 6f 6e 61 6c 20 64 | 61 74 65 29 20 22 c0 c1 |tional d|ate) "..|
|00000670| 5c 6e 86 08 00 c3 20 89 | 1a 89 1a 41 41 40 29 53 |\n.... .|...AA@)S|
|00000680| 1c 5c 6e 89 1a 89 1a 40 | 29 1d 5c 6e 89 1a 41 40 |.\n....@|).\n..A@|
|00000690| 29 1e 06 5c 6e 89 1a 41 | 41 40 29 1e 07 0e 06 0d |)..\n..A|A@).....|
|000006a0| 53 c8 5f 5c 5c 1e 09 0d | ca 56 83 6b 00 0e 09 0d |S._\\...|.V.k....|
|000006b0| cb 5f cc 5c 5c cd a5 5a | 16 09 0e 07 89 1e 07 cb |._.\\..Z|........|
|000006c0| a6 ce 55 85 62 00 0e 07 | cf a6 ce 55 3f 86 62 00 |..U.b...|...U?.b.|
|000006d0| 0e 07 d0 a6 ce 55 29 83 | 6b 00 0e 09 54 16 09 0e |.....U).|k...T...|
|000006e0| 09 2d 5c 66 d1 5f 5c 5c | 5c 66 cb a5 5c 5c 5c 66 |.-\f._\\|\f..\\\f|
|000006f0| cf a5 5b 5c 5c 5c 66 d0 | a5 5c 5c 2a 21 d2 d3 23 |..[\\\f.|.\\*!..#|
|00000700| 87 22 20 5b 63 61 6c 65 | 6e 64 61 72 2d 64 61 74 |." [cale|ndar-dat|
|00000710| 65 2d 73 74 72 69 6e 67 | 20 63 61 6c 65 6e 64 61 |e-string| calenda|
|00000720| 72 2d 6a 75 6c 69 61 6e | 2d 66 72 6f 6d 2d 61 62 |r-julian|-from-ab|
|00000730| 73 6f 6c 75 74 65 20 64 | 61 74 65 20 63 61 6c 65 |solute d|ate cale|
|00000740| 6e 64 61 72 2d 63 75 72 | 72 65 6e 74 2d 64 61 74 |ndar-cur|rent-dat|
|00000750| 65 20 70 72 69 6f 72 2d | 79 65 61 72 73 20 6d 6f |e prior-|years mo|
|00000760| 6e 74 68 20 64 61 79 20 | 79 65 61 72 20 33 31 20 |nth day |year 31 |
|00000770| 64 61 79 2d 6f 66 2d 79 | 65 61 72 20 32 20 34 20 |day-of-y|ear 2 4 |
|00000780| 32 33 20 31 30 20 30 20 | 31 30 30 20 34 30 30 20 |23 10 0 |100 400 |
|00000790| 33 36 35 20 6e 69 6c 20 | 74 5d 20 38 20 28 23 24 |365 nil |t] 8 (#$|
|000007a0| 20 2e 20 31 34 34 35 29 | 5d 29 0a 23 40 36 37 20 | . 1445)|]).#@67 |
|000007b0| 53 68 6f 77 20 74 68 65 | 20 4a 75 6c 69 61 6e 20 |Show the| Julian |
|000007c0| 63 61 6c 65 6e 64 61 72 | 20 65 71 75 69 76 61 6c |calendar| equival|
|000007d0| 65 6e 74 20 6f 66 20 74 | 68 65 20 64 61 74 65 20 |ent of t|he date |
|000007e0| 75 6e 64 65 72 20 74 68 | 65 20 63 75 72 73 6f 72 |under th|e cursor|
|000007f0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 63 61 |...(defa|lias 'ca|
|00000800| 6c 65 6e 64 61 72 2d 70 | 72 69 6e 74 2d 6a 75 6c |lendar-p|rint-jul|
|00000810| 69 61 6e 2d 64 61 74 65 | 20 23 5b 6e 69 6c 20 22 |ian-date| #[nil "|
|00000820| c0 c1 c2 c3 c4 21 21 5c | 22 87 22 20 5b 6d 65 73 |.....!!\|"." [mes|
|00000830| 73 61 67 65 20 22 4a 75 | 6c 69 61 6e 20 64 61 74 |sage "Ju|lian dat|
|00000840| 65 3a 20 25 73 22 20 63 | 61 6c 65 6e 64 61 72 2d |e: %s" c|alendar-|
|00000850| 6a 75 6c 69 61 6e 2d 64 | 61 74 65 2d 73 74 72 69 |julian-d|ate-stri|
|00000860| 6e 67 20 63 61 6c 65 6e | 64 61 72 2d 63 75 72 73 |ng calen|dar-curs|
|00000870| 6f 72 2d 74 6f 2d 64 61 | 74 65 20 74 5d 20 35 20 |or-to-da|te t] 5 |
|00000880| 28 23 24 20 2e 20 31 39 | 36 38 29 20 6e 69 6c 5d |(#$ . 19|68) nil]|
|00000890| 29 0a 23 40 36 36 20 4d | 6f 76 65 20 63 75 72 73 |).#@66 M|ove curs|
|000008a0| 6f 72 20 74 6f 20 4a 75 | 6c 69 61 6e 20 44 41 54 |or to Ju|lian DAT|
|000008b0| 45 3b 20 65 63 68 6f 20 | 4a 75 6c 69 61 6e 20 64 |E; echo |Julian d|
|000008c0| 61 74 65 20 75 6e 6c 65 | 73 73 20 4e 4f 45 43 48 |ate unle|ss NOECH|
|000008d0| 4f 20 69 73 20 74 2e 1f | 0a 28 64 65 66 61 6c 69 |O is t..|.(defali|
|000008e0| 61 73 20 27 63 61 6c 65 | 6e 64 61 72 2d 67 6f 74 |as 'cale|ndar-got|
|000008f0| 6f 2d 6a 75 6c 69 61 6e | 2d 64 61 74 65 20 23 5b |o-julian|-date #[|
|00000900| 28 64 61 74 65 20 26 6f | 70 74 69 6f 6e 61 6c 20 |(date &o|ptional |
|00000910| 6e 6f 65 63 68 6f 29 20 | 22 c0 c1 c2 0b 21 21 21 |noecho) |"....!!!|
|00000920| 88 5c 66 86 0e 00 c5 20 | 87 22 20 5b 63 61 6c 65 |.\f.... |." [cale|
|00000930| 6e 64 61 72 2d 67 6f 74 | 6f 2d 64 61 74 65 20 63 |ndar-got|o-date c|
|00000940| 61 6c 65 6e 64 61 72 2d | 67 72 65 67 6f 72 69 61 |alendar-|gregoria|
|00000950| 6e 2d 66 72 6f 6d 2d 61 | 62 73 6f 6c 75 74 65 20 |n-from-a|bsolute |
|00000960| 63 61 6c 65 6e 64 61 72 | 2d 61 62 73 6f 6c 75 74 |calendar|-absolut|
|00000970| 65 2d 66 72 6f 6d 2d 6a | 75 6c 69 61 6e 20 64 61 |e-from-j|ulian da|
|00000980| 74 65 20 6e 6f 65 63 68 | 6f 20 63 61 6c 65 6e 64 |te noech|o calend|
|00000990| 61 72 2d 70 72 69 6e 74 | 2d 6a 75 6c 69 61 6e 2d |ar-print|-julian-|
|000009a0| 64 61 74 65 5d 20 34 20 | 28 23 24 20 2e 20 32 31 |date] 4 |(#$ . 21|
|000009b0| 39 39 29 20 28 6c 65 74 | 2a 20 28 28 74 6f 64 61 |99) (let|* ((toda|
|000009c0| 79 20 28 63 61 6c 65 6e | 64 61 72 2d 63 75 72 72 |y (calen|dar-curr|
|000009d0| 65 6e 74 2d 64 61 74 65 | 29 29 20 28 79 65 61 72 |ent-date|)) (year|
|000009e0| 20 28 63 61 6c 65 6e 64 | 61 72 2d 72 65 61 64 20 | (calend|ar-read |
|000009f0| 22 4a 75 6c 69 61 6e 20 | 63 61 6c 65 6e 64 61 72 |"Julian |calendar|
|00000a00| 20 79 65 61 72 20 28 3e | 30 29 3a 20 22 20 28 71 | year (>|0): " (q|
|00000a10| 75 6f 74 65 20 28 6c 61 | 6d 62 64 61 20 28 78 29 |uote (la|mbda (x)|
|00000a20| 20 28 3e 20 78 20 30 29 | 29 29 20 28 69 6e 74 2d | (> x 0)|)) (int-|
|00000a30| 74 6f 2d 73 74 72 69 6e | 67 20 28 65 78 74 72 61 |to-strin|g (extra|
|00000a40| 63 74 2d 63 61 6c 65 6e | 64 61 72 2d 79 65 61 72 |ct-calen|dar-year|
|00000a50| 20 28 63 61 6c 65 6e 64 | 61 72 2d 6a 75 6c 69 61 | (calend|ar-julia|
|00000a60| 6e 2d 66 72 6f 6d 2d 61 | 62 73 6f 6c 75 74 65 20 |n-from-a|bsolute |
|00000a70| 28 63 61 6c 65 6e 64 61 | 72 2d 61 62 73 6f 6c 75 |(calenda|r-absolu|
|00000a80| 74 65 2d 66 72 6f 6d 2d | 67 72 65 67 6f 72 69 61 |te-from-|gregoria|
|00000a90| 6e 20 74 6f 64 61 79 29 | 29 29 29 29 29 20 28 6d |n today)|))))) (m|
|00000aa0| 6f 6e 74 68 2d 61 72 72 | 61 79 20 63 61 6c 65 6e |onth-arr|ay calen|
|00000ab0| 64 61 72 2d 6d 6f 6e 74 | 68 2d 6e 61 6d 65 2d 61 |dar-mont|h-name-a|
|00000ac0| 72 72 61 79 29 20 28 63 | 6f 6d 70 6c 65 74 69 6f |rray) (c|ompletio|
|00000ad0| 6e 2d 69 67 6e 6f 72 65 | 2d 63 61 73 65 20 74 29 |n-ignore|-case t)|
|00000ae0| 20 28 6d 6f 6e 74 68 20 | 28 63 64 72 20 28 61 73 | (month |(cdr (as|
|00000af0| 73 6f 63 20 28 63 61 70 | 69 74 61 6c 69 7a 65 20 |soc (cap|italize |
|00000b00| 28 63 6f 6d 70 6c 65 74 | 69 6e 67 2d 72 65 61 64 |(complet|ing-read|
|00000b10| 20 22 4a 75 6c 69 61 6e | 20 63 61 6c 65 6e 64 61 | "Julian| calenda|
|00000b20| 72 20 6d 6f 6e 74 68 20 | 6e 61 6d 65 3a 20 22 20 |r month |name: " |
|00000b30| 28 6d 61 70 63 61 72 20 | 28 71 75 6f 74 65 20 6c |(mapcar |(quote l|
|00000b40| 69 73 74 29 20 28 61 70 | 70 65 6e 64 20 6d 6f 6e |ist) (ap|pend mon|
|00000b50| 74 68 2d 61 72 72 61 79 | 20 6e 69 6c 29 29 20 6e |th-array| nil)) n|
|00000b60| 69 6c 20 74 29 29 20 28 | 63 61 6c 65 6e 64 61 72 |il t)) (|calendar|
|00000b70| 2d 6d 61 6b 65 2d 61 6c | 69 73 74 20 6d 6f 6e 74 |-make-al|ist mont|
|00000b80| 68 2d 61 72 72 61 79 20 | 31 20 28 71 75 6f 74 65 |h-array |1 (quote|
|00000b90| 20 63 61 70 69 74 61 6c | 69 7a 65 29 29 29 29 29 | capital|ize)))))|
|00000ba0| 20 28 6c 61 73 74 20 28 | 69 66 20 28 61 6e 64 20 | (last (|if (and |
|00000bb0| 28 7a 65 72 6f 70 20 28 | 25 20 79 65 61 72 20 34 |(zerop (|% year 4|
|00000bc0| 29 29 20 28 3d 20 6d 6f | 6e 74 68 20 32 29 29 20 |)) (= mo|nth 2)) |
|00000bd0| 32 39 20 28 61 72 65 66 | 20 5b 33 31 20 32 38 20 |29 (aref| [31 28 |
|00000be0| 33 31 20 33 30 20 33 31 | 20 33 30 20 33 31 20 33 |31 30 31| 30 31 3|
|00000bf0| 31 20 33 30 20 33 31 20 | 33 30 20 33 31 5d 20 28 |1 30 31 |30 31] (|
|00000c00| 31 2d 20 6d 6f 6e 74 68 | 29 29 29 29 20 28 64 61 |1- month|)))) (da|
|00000c10| 79 20 28 63 61 6c 65 6e | 64 61 72 2d 72 65 61 64 |y (calen|dar-read|
|00000c20| 20 28 66 6f 72 6d 61 74 | 20 22 4a 75 6c 69 61 6e | (format| "Julian|
|00000c30| 20 63 61 6c 65 6e 64 61 | 72 20 64 61 79 20 28 25 | calenda|r day (%|
|00000c40| 64 2d 25 64 29 3a 20 22 | 20 28 69 66 20 28 61 6e |d-%d): "| (if (an|
|00000c50| 64 20 28 3d 20 79 65 61 | 72 20 31 29 20 28 3d 20 |d (= yea|r 1) (= |
|00000c60| 6d 6f 6e 74 68 20 31 29 | 29 20 33 20 31 29 20 6c |month 1)|) 3 1) l|
|00000c70| 61 73 74 29 20 28 71 75 | 6f 74 65 20 28 6c 61 6d |ast) (qu|ote (lam|
|00000c80| 62 64 61 20 28 78 29 20 | 28 61 6e 64 20 28 3c 20 |bda (x) |(and (< |
|00000c90| 28 69 66 20 28 61 6e 64 | 20 28 3d 20 79 65 61 72 |(if (and| (= year|
|00000ca0| 20 31 29 20 28 3d 20 6d | 6f 6e 74 68 20 31 29 29 | 1) (= m|onth 1))|
|00000cb0| 20 32 20 30 29 20 78 29 | 20 28 3c 3d 20 78 20 6c | 2 0) x)| (<= x l|
|00000cc0| 61 73 74 29 29 29 29 29 | 29 29 20 28 6c 69 73 74 |ast)))))|)) (list|
|00000cd0| 20 28 6c 69 73 74 20 6d | 6f 6e 74 68 20 64 61 79 | (list m|onth day|
|00000ce0| 20 79 65 61 72 29 29 29 | 5d 29 0a 23 40 32 35 33 | year)))|]).#@253|
|00000cf0| 20 48 6f 6c 69 64 61 79 | 20 6f 6e 20 4d 4f 4e 54 | Holiday| on MONT|
|00000d00| 48 2c 20 44 41 59 20 20 | 28 4a 75 6c 69 61 6e 29 |H, DAY |(Julian)|
|00000d10| 20 63 61 6c 6c 65 64 20 | 53 54 52 49 4e 47 2e 0a | called |STRING..|
|00000d20| 49 66 20 4d 4f 4e 54 48 | 2c 20 44 41 59 20 28 4a |If MONTH|, DAY (J|
|00000d30| 75 6c 69 61 6e 29 20 69 | 73 20 76 69 73 69 62 6c |ulian) i|s visibl|
|00000d40| 65 2c 20 74 68 65 20 76 | 61 6c 75 65 20 72 65 74 |e, the v|alue ret|
|00000d50| 75 72 6e 65 64 20 69 73 | 20 63 6f 72 72 65 73 70 |urned is| corresp|
|00000d60| 6f 6e 64 69 6e 67 0a 47 | 72 65 67 6f 72 69 61 6e |onding.G|regorian|
|00000d70| 20 64 61 74 65 20 69 6e | 20 74 68 65 20 66 6f 72 | date in| the for|
|00000d80| 6d 20 6f 66 20 74 68 65 | 20 6c 69 73 74 20 28 28 |m of the| list ((|
|00000d90| 28 6d 6f 6e 74 68 20 64 | 61 79 20 79 65 61 72 29 |(month d|ay year)|
|00000da0| 20 53 54 52 49 4e 47 29 | 29 2e 20 20 52 65 74 75 | STRING)|). Retu|
|00000db0| 72 6e 73 0a 6e 69 6c 20 | 69 66 20 69 74 20 69 73 |rns.nil |if it is|
|00000dc0| 20 6e 6f 74 20 76 69 73 | 69 62 6c 65 20 69 6e 20 | not vis|ible in |
|00000dd0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 63 61 6c 65 |the curr|ent cale|
|00000de0| 6e 64 61 72 20 77 69 6e | 64 6f 77 2e 1f 0a 28 64 |ndar win|dow...(d|
|00000df0| 65 66 61 6c 69 61 73 20 | 27 68 6f 6c 69 64 61 79 |efalias |'holiday|
|00000e00| 2d 6a 75 6c 69 61 6e 20 | 23 5b 28 6d 6f 6e 74 68 |-julian |#[(month|
|00000e10| 20 64 61 79 20 73 74 72 | 69 6e 67 29 20 22 08 09 | day str|ing) "..|
|00000e20| 08 09 c2 1b 1c 1d 1e 06 | 1e 07 0e 06 c8 5f 0e 07 |........|....._..|
|00000e30| 5c 5c c9 5c 5c 89 1e 5c | 6e c8 a6 54 16 07 0e 5c |\\.\\..\|n..T...\|
|00000e40| 6e c8 a5 16 06 29 5c 66 | c8 5f 0d 5c 5c cb 5c 5c |n....)\f|._.\\.\\|
|00000e50| cc 5c 5c 89 1e 5c 6e c8 | a6 54 15 0e 5c 6e c8 a5 |.\\..\n.|.T..\n..|
|00000e60| 14 29 0e 07 cc 0e 06 45 | 89 1e 0d 89 1e 0d 41 41 |.).....E|......AA|
|00000e70| 40 29 53 1e 0e 0e 0d 89 | 1e 0d 89 1e 0d 40 29 1e |@)S.....|.....@).|
|00000e80| 0f 0e 0d 89 1e 0d 41 40 | 29 1e 10 0e 0d 89 1e 0d |......A@|).......|
|00000e90| 41 41 40 29 1b 0e 10 0e | 0f 53 d1 5f 5c 5c 1e 12 |AA@)....|.S._\\..|
|00000ea0| 0e 0f d3 56 83 ac 00 0e | 12 0e 0f d4 5f d5 5c 5c |...V....|...._.\\|
|00000eb0| d6 a5 5a 16 12 0b 89 1b | d4 a6 d7 55 85 a3 00 0b |..Z.....|...U....|
|00000ec0| d8 a6 d7 55 3f 86 a3 00 | 0b d9 a6 d7 55 29 83 ac |...U?...|....U)..|
|00000ed0| 00 0e 12 54 16 12 0e 12 | 2d 0e 0e da 5f 5c 5c 0e |...T....|-..._\\.|
|00000ee0| 0e d4 a5 5c 5c 0e 0e d8 | a5 5b 5c 5c 0e 0e d9 a5 |...\\...|.[\\....|
|00000ef0| 5c 5c 2a 1e 1b 0d 89 5c | 66 1b 89 1e 0f d3 55 83 |\\*....\|f.....U.|
|00000f00| f3 00 0b 89 1b d4 a6 d7 | 55 85 eb 00 0b d8 a6 d7 |........|U.......|
|00000f10| 55 3f 86 eb 00 0b d9 a6 | d7 55 29 83 f3 00 dc 82 |U?......|.U).....|
|00000f20| f8 00 dd 0e 0f 53 48 2a | 5c 66 45 89 1e 0d 89 1e |.....SH*|\fE.....|
|00000f30| 0d 41 41 40 29 53 1e 0e | 0e 0d 89 1e 0d 89 1e 0d |.AA@)S..|........|
|00000f40| 40 29 1e 0f 0e 0d 89 1e | 0d 41 40 29 1e 10 0e 0d |@)......|.A@)....|
|00000f50| 89 1e 0d 41 41 40 29 1b | 0e 10 0e 0f 53 d1 5f 5c |...AA@).|....S._\|
|00000f60| 5c 1e 12 0e 0f d3 56 83 | 67 01 0e 12 0e 0f d4 5f |\.....V.|g......_|
|00000f70| d5 5c 5c d6 a5 5a 16 12 | 0b 89 1b d4 a6 d7 55 85 |.\\..Z..|......U.|
|00000f80| 5e 01 0b d8 a6 d7 55 3f | 86 5e 01 0b d9 a6 d7 55 |^.....U?|.^.....U|
|00000f90| 29 83 67 01 0e 12 54 16 | 12 0e 12 2d 0e 0e da 5f |).g...T.|...-..._|
|00000fa0| 5c 5c 0e 0e d4 a5 5c 5c | 0e 0e d8 a5 5b 5c 5c 0e |\\....\\|....[\\.|
|00000fb0| 0e d9 a5 5c 5c 2a 1e 1e | df 0e 1b 21 1e 20 df 0e |...\\*..|...!. ..|
|00000fc0| 1e 21 1e 21 0e 20 89 1e | 0d 41 41 40 29 1e 5c 22 |.!.!. ..|.AA@).\"|
|00000fd0| 0e 21 89 1e 0d 41 41 40 | 29 1e 23 d6 0e 0f 57 83 |.!...AA@|).#...W.|
|00000fe0| b0 01 0e 5c 22 82 b2 01 | 0e 23 13 e4 e5 0e 0f 0e |...\"...|.#......|
|00000ff0| 10 0b 45 21 21 1e 0d e6 | 0e 0d 21 85 cc 01 0e 0d |..E!!...|..!.....|
|00001000| 0e 27 44 43 2e 5c 66 87 | 22 20 5b 64 69 73 70 6c |.'DC.\f.|" [displ|
|00001010| 61 79 65 64 2d 6d 6f 6e | 74 68 20 64 69 73 70 6c |ayed-mon|th displ|
|00001020| 61 79 65 64 2d 79 65 61 | 72 20 6e 69 6c 20 79 65 |ayed-yea|r nil ye|
|00001030| 61 72 20 79 32 20 6d 32 | 20 79 31 20 6d 31 20 31 |ar y2 m2| y1 m1 1|
|00001040| 32 20 2d 32 20 6d 61 63 | 72 6f 2d 79 20 2d 31 20 |2 -2 mac|ro-y -1 |
|00001050| 31 20 64 61 74 65 20 70 | 72 69 6f 72 2d 79 65 61 |1 date p|rior-yea|
|00001060| 72 73 20 6d 6f 6e 74 68 | 20 64 61 79 20 33 31 20 |rs month| day 31 |
|00001070| 64 61 79 2d 6f 66 2d 79 | 65 61 72 20 32 20 34 20 |day-of-y|ear 2 4 |
|00001080| 32 33 20 31 30 20 30 20 | 31 30 30 20 34 30 30 20 |23 10 0 |100 400 |
|00001090| 33 36 35 20 73 74 61 72 | 74 2d 64 61 74 65 20 32 |365 star|t-date 2|
|000010a0| 39 20 5b 33 31 20 32 38 | 20 33 31 20 33 30 20 33 |9 [31 28| 31 30 3|
|000010b0| 31 20 33 30 20 33 31 20 | 33 31 20 33 30 20 33 31 |1 30 31 |31 30 31|
|000010c0| 20 33 30 20 33 31 5d 20 | 65 6e 64 2d 64 61 74 65 | 30 31] |end-date|
|000010d0| 20 63 61 6c 65 6e 64 61 | 72 2d 6a 75 6c 69 61 6e | calenda|r-julian|
|000010e0| 2d 66 72 6f 6d 2d 61 62 | 73 6f 6c 75 74 65 20 6a |-from-ab|solute j|
|000010f0| 75 6c 69 61 6e 2d 73 74 | 61 72 74 20 6a 75 6c 69 |ulian-st|art juli|
|00001100| 61 6e 2d 65 6e 64 20 6a | 75 6c 69 61 6e 2d 79 31 |an-end j|ulian-y1|
|00001110| 20 6a 75 6c 69 61 6e 2d | 79 32 20 63 61 6c 65 6e | julian-|y2 calen|
|00001120| 64 61 72 2d 67 72 65 67 | 6f 72 69 61 6e 2d 66 72 |dar-greg|orian-fr|
|00001130| 6f 6d 2d 61 62 73 6f 6c | 75 74 65 20 63 61 6c 65 |om-absol|ute cale|
|00001140| 6e 64 61 72 2d 61 62 73 | 6f 6c 75 74 65 2d 66 72 |ndar-abs|olute-fr|
|00001150| 6f 6d 2d 6a 75 6c 69 61 | 6e 20 63 61 6c 65 6e 64 |om-julia|n calend|
|00001160| 61 72 2d 64 61 74 65 2d | 69 73 2d 76 69 73 69 62 |ar-date-|is-visib|
|00001170| 6c 65 2d 70 20 73 74 72 | 69 6e 67 5d 20 36 20 28 |le-p str|ing] 6 (|
|00001180| 23 24 20 2e 20 33 33 31 | 33 29 5d 29 0a 23 40 34 |#$ . 331|3)]).#@4|
|00001190| 39 20 4a 75 6c 69 61 6e | 20 63 61 6c 65 6e 64 61 |9 Julian| calenda|
|000011a0| 72 20 65 71 75 69 76 61 | 6c 65 6e 74 20 6f 66 20 |r equiva|lent of |
|000011b0| 64 61 74 65 20 64 69 61 | 72 79 20 65 6e 74 72 79 |date dia|ry entry|
|000011c0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 64 69 |...(defa|lias 'di|
|000011d0| 61 72 79 2d 6a 75 6c 69 | 61 6e 2d 64 61 74 65 20 |ary-juli|an-date |
|000011e0| 23 5b 6e 69 6c 20 22 c0 | c1 c2 0b 21 5c 22 87 22 |#[nil ".|...!\"."|
|000011f0| 20 5b 66 6f 72 6d 61 74 | 20 22 4a 75 6c 69 61 6e | [format| "Julian|
|00001200| 20 64 61 74 65 3a 20 25 | 73 22 20 63 61 6c 65 6e | date: %|s" calen|
|00001210| 64 61 72 2d 6a 75 6c 69 | 61 6e 2d 64 61 74 65 2d |dar-juli|an-date-|
|00001220| 73 74 72 69 6e 67 20 64 | 61 74 65 5d 20 34 20 28 |string d|ate] 4 (|
|00001230| 23 24 20 2e 20 34 34 39 | 38 29 5d 29 0a 23 40 35 |#$ . 449|8)]).#@5|
|00001240| 34 20 41 62 73 6f 6c 75 | 74 65 20 64 61 74 65 20 |4 Absolu|te date |
|00001250| 6f 66 20 61 73 74 72 6f | 6e 6f 6d 69 63 61 6c 20 |of astro|nomical |
|00001260| 28 4a 75 6c 69 61 6e 29 | 20 64 61 79 20 6e 75 6d |(Julian)| day num|
|00001270| 62 65 72 20 44 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ber D...|(defalia|
|00001280| 73 20 27 63 61 6c 65 6e | 64 61 72 2d 61 62 73 6f |s 'calen|dar-abso|
|00001290| 6c 75 74 65 2d 66 72 6f | 6d 2d 61 73 74 72 6f 20 |lute-fro|m-astro |
|000012a0| 23 5b 28 64 29 20 22 08 | c1 5a 87 22 20 5b 64 20 |#[(d) ".|.Z." [d |
|000012b0| 31 37 32 31 34 32 34 2e | 35 5d 20 32 20 28 23 24 |1721424.|5] 2 (#$|
|000012c0| 20 2e 20 34 36 37 34 29 | 5d 29 0a 23 40 35 34 20 | . 4674)|]).#@54 |
|000012d0| 41 73 74 72 6f 6e 6f 6d | 69 63 61 6c 20 28 4a 75 |Astronom|ical (Ju|
|000012e0| 6c 69 61 6e 29 20 64 61 | 79 20 6e 75 6d 62 65 72 |lian) da|y number|
|000012f0| 20 6f 66 20 61 62 73 6f | 6c 75 74 65 20 64 61 74 | of abso|lute dat|
|00001300| 65 20 44 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |e D...(d|efalias |
|00001310| 27 63 61 6c 65 6e 64 61 | 72 2d 61 73 74 72 6f 2d |'calenda|r-astro-|
|00001320| 66 72 6f 6d 2d 61 62 73 | 6f 6c 75 74 65 20 23 5b |from-abs|olute #[|
|00001330| 28 64 29 20 22 08 c1 5c | 5c 87 22 20 5b 64 20 31 |(d) "..\|\." [d 1|
|00001340| 37 32 31 34 32 34 2e 35 | 5d 20 32 20 28 23 24 20 |721424.5|] 2 (#$ |
|00001350| 2e 20 34 38 31 36 29 5d | 29 0a 23 40 31 32 35 20 |. 4816)]|).#@125 |
|00001360| 53 74 72 69 6e 67 20 6f | 66 20 61 73 74 72 6f 6e |String o|f astron|
|00001370| 6f 6d 69 63 61 6c 20 28 | 4a 75 6c 69 61 6e 29 20 |omical (|Julian) |
|00001380| 64 61 79 20 6e 75 6d 62 | 65 72 20 61 66 74 65 72 |day numb|er after|
|00001390| 20 6e 6f 6f 6e 20 55 54 | 43 20 6f 66 20 47 72 65 | noon UT|C of Gre|
|000013a0| 67 6f 72 69 61 6e 20 44 | 41 54 45 2e 0a 44 65 66 |gorian D|ATE..Def|
|000013b0| 61 75 6c 74 73 20 74 6f | 20 74 6f 64 61 79 27 73 |aults to| today's|
|000013c0| 20 64 61 74 65 20 69 66 | 20 44 41 54 45 20 69 73 | date if| DATE is|
|000013d0| 20 6e 6f 74 20 67 69 76 | 65 6e 2e 1f 0a 28 64 65 | not giv|en...(de|
|000013e0| 66 61 6c 69 61 73 20 27 | 63 61 6c 65 6e 64 61 72 |falias '|calendar|
|000013f0| 2d 61 73 74 72 6f 2d 64 | 61 74 65 2d 73 74 72 69 |-astro-d|ate-stri|
|00001400| 6e 67 20 23 5b 28 26 6f | 70 74 69 6f 6e 61 6c 20 |ng #[(&o|ptional |
|00001410| 64 61 74 65 29 20 22 c0 | c1 c2 0b 86 09 00 c4 20 |date) ".|....... |
|00001420| 89 1b 89 1b 41 41 40 29 | 53 1d 0b 89 1b 89 1b 40 |....AA@)|S......@|
|00001430| 29 1e 06 0b 89 1b 41 40 | 29 1e 07 0b 89 1b 41 41 |).....A@|).....AA|
|00001440| 40 29 1e 08 0e 07 0e 06 | 53 c9 5f 5c 5c 1e 5c 6e |@)......|S._\\.\n|
|00001450| 0e 06 cb 56 83 70 00 0e | 5c 6e 0e 06 cc 5f cd 5c |...V.p..|\n..._.\|
|00001460| 5c ce a5 5a 16 5c 6e 0e | 08 89 1e 08 cc a6 cf 55 |\..Z.\n.|.......U|
|00001470| 85 67 00 0e 08 d0 a6 cf | 55 3f 86 67 00 0e 08 d1 |.g......|U?.g....|
|00001480| a6 cf 55 29 83 70 00 0e | 5c 6e 54 16 5c 6e 0e 5c |..U).p..|\nT.\n.\|
|00001490| 6e 2d 0d d2 5f 5c 5c 0d | cc a5 5c 5c 0d d0 a5 5b |n-.._\\.|..\\...[|
|000014a0| 5c 5c 0d d1 a5 5c 5c 2a | 21 21 21 87 22 20 5b 69 |\\...\\*|!!!." [i|
|000014b0| 6e 74 2d 74 6f 2d 73 74 | 72 69 6e 67 20 63 65 69 |nt-to-st|ring cei|
|000014c0| 6c 69 6e 67 20 63 61 6c | 65 6e 64 61 72 2d 61 73 |ling cal|endar-as|
|000014d0| 74 72 6f 2d 66 72 6f 6d | 2d 61 62 73 6f 6c 75 74 |tro-from|-absolut|
|000014e0| 65 20 64 61 74 65 20 63 | 61 6c 65 6e 64 61 72 2d |e date c|alendar-|
|000014f0| 63 75 72 72 65 6e 74 2d | 64 61 74 65 20 70 72 69 |current-|date pri|
|00001500| 6f 72 2d 79 65 61 72 73 | 20 6d 6f 6e 74 68 20 64 |or-years| month d|
|00001510| 61 79 20 79 65 61 72 20 | 33 31 20 64 61 79 2d 6f |ay year |31 day-o|
|00001520| 66 2d 79 65 61 72 20 32 | 20 34 20 32 33 20 31 30 |f-year 2| 4 23 10|
|00001530| 20 30 20 31 30 30 20 34 | 30 30 20 33 36 35 5d 20 | 0 100 4|00 365] |
|00001540| 39 20 28 23 24 20 2e 20 | 34 39 36 30 29 5d 29 0a |9 (#$ . |4960)]).|
|00001550| 23 40 37 39 20 53 68 6f | 77 20 61 73 74 72 6f 6e |#@79 Sho|w astron|
|00001560| 6f 6d 69 63 61 6c 20 28 | 4a 75 6c 69 61 6e 29 20 |omical (|Julian) |
|00001570| 64 61 79 20 6e 75 6d 62 | 65 72 20 61 66 74 65 72 |day numb|er after|
|00001580| 20 6e 6f 6f 6e 20 55 54 | 43 20 6f 6e 20 64 61 74 | noon UT|C on dat|
|00001590| 65 20 73 68 6f 77 6e 20 | 62 79 20 63 75 72 73 6f |e shown |by curso|
|000015a0| 72 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |r...(def|alias 'c|
|000015b0| 61 6c 65 6e 64 61 72 2d | 70 72 69 6e 74 2d 61 73 |alendar-|print-as|
|000015c0| 74 72 6f 2d 64 61 79 2d | 6e 75 6d 62 65 72 20 23 |tro-day-|number #|
|000015d0| 5b 6e 69 6c 20 22 c0 c1 | c2 c3 c4 21 21 5c 22 87 |[nil "..|...!!\".|
|000015e0| 22 20 5b 6d 65 73 73 61 | 67 65 20 22 41 73 74 72 |" [messa|ge "Astr|
|000015f0| 6f 6e 6f 6d 69 63 61 6c | 20 28 4a 75 6c 69 61 6e |onomical| (Julian|
|00001600| 29 20 64 61 79 20 6e 75 | 6d 62 65 72 20 28 61 74 |) day nu|mber (at|
|00001610| 20 6e 6f 6f 6e 20 55 54 | 43 29 3a 20 25 73 2e 30 | noon UT|C): %s.0|
|00001620| 22 20 63 61 6c 65 6e 64 | 61 72 2d 61 73 74 72 6f |" calend|ar-astro|
|00001630| 2d 64 61 74 65 2d 73 74 | 72 69 6e 67 20 63 61 6c |-date-st|ring cal|
|00001640| 65 6e 64 61 72 2d 63 75 | 72 73 6f 72 2d 74 6f 2d |endar-cu|rsor-to-|
|00001650| 64 61 74 65 20 74 5d 20 | 35 20 28 23 24 20 2e 20 |date t] |5 (#$ . |
|00001660| 35 34 36 31 29 20 6e 69 | 6c 5d 29 0a 23 40 31 30 |5461) ni|l]).#@10|
|00001670| 37 20 4d 6f 76 65 20 63 | 75 72 73 6f 72 20 74 6f |7 Move c|ursor to|
|00001680| 20 61 73 74 72 6f 6e 6f | 6d 69 63 61 6c 20 28 4a | astrono|mical (J|
|00001690| 75 6c 69 61 6e 29 20 44 | 41 59 4e 55 4d 42 45 52 |ulian) D|AYNUMBER|
|000016a0| 2e 0a 45 63 68 6f 20 61 | 73 74 72 6f 6e 6f 6d 69 |..Echo a|stronomi|
|000016b0| 63 61 6c 20 28 4a 75 6c | 69 61 6e 29 20 64 61 79 |cal (Jul|ian) day|
|000016c0| 20 6e 75 6d 62 65 72 20 | 75 6e 6c 65 73 73 20 4e | number |unless N|
|000016d0| 4f 45 43 48 4f 20 69 73 | 20 74 2e 1f 0a 28 64 65 |OECHO is| t...(de|
|000016e0| 66 61 6c 69 61 73 20 27 | 63 61 6c 65 6e 64 61 72 |falias '|calendar|
|000016f0| 2d 67 6f 74 6f 2d 61 73 | 74 72 6f 2d 64 61 79 2d |-goto-as|tro-day-|
|00001700| 6e 75 6d 62 65 72 20 23 | 5b 28 64 61 79 6e 75 6d |number #|[(daynum|
|00001710| 62 65 72 20 26 6f 70 74 | 69 6f 6e 61 6c 20 6e 6f |ber &opt|ional no|
|00001720| 65 63 68 6f 29 20 22 c0 | c1 c2 c3 5c 66 21 21 21 |echo) ".|...\f!!!|
|00001730| 21 88 0d 86 10 00 c6 20 | 87 22 20 5b 63 61 6c 65 |!...... |." [cale|
|00001740| 6e 64 61 72 2d 67 6f 74 | 6f 2d 64 61 74 65 20 63 |ndar-got|o-date c|
|00001750| 61 6c 65 6e 64 61 72 2d | 67 72 65 67 6f 72 69 61 |alendar-|gregoria|
|00001760| 6e 2d 66 72 6f 6d 2d 61 | 62 73 6f 6c 75 74 65 20 |n-from-a|bsolute |
|00001770| 66 6c 6f 6f 72 20 63 61 | 6c 65 6e 64 61 72 2d 61 |floor ca|lendar-a|
|00001780| 62 73 6f 6c 75 74 65 2d | 66 72 6f 6d 2d 61 73 74 |bsolute-|from-ast|
|00001790| 72 6f 20 64 61 79 6e 75 | 6d 62 65 72 20 6e 6f 65 |ro daynu|mber noe|
|000017a0| 63 68 6f 20 63 61 6c 65 | 6e 64 61 72 2d 70 72 69 |cho cale|ndar-pri|
|000017b0| 6e 74 2d 61 73 74 72 6f | 2d 64 61 79 2d 6e 75 6d |nt-astro|-day-num|
|000017c0| 62 65 72 5d 20 35 20 28 | 23 24 20 2e 20 35 37 34 |ber] 5 (|#$ . 574|
|000017d0| 36 29 20 28 6c 69 73 74 | 20 28 63 61 6c 65 6e 64 |6) (list| (calend|
|000017e0| 61 72 2d 72 65 61 64 20 | 22 41 73 74 72 6f 6e 6f |ar-read |"Astrono|
|000017f0| 6d 69 63 61 6c 20 28 4a | 75 6c 69 61 6e 29 20 64 |mical (J|ulian) d|
|00001800| 61 79 20 6e 75 6d 62 65 | 72 20 28 3e 31 37 32 31 |ay numbe|r (>1721|
|00001810| 34 32 35 29 3a 20 22 20 | 28 71 75 6f 74 65 20 28 |425): " |(quote (|
|00001820| 6c 61 6d 62 64 61 20 28 | 78 29 20 28 3e 20 78 20 |lambda (|x) (> x |
|00001830| 31 37 32 31 34 32 35 29 | 29 29 29 29 5d 29 0a 23 |1721425)|))))]).#|
|00001840| 40 34 37 20 41 73 74 72 | 6f 6e 6f 6d 69 63 61 6c |@47 Astr|onomical|
|00001850| 20 28 4a 75 6c 69 61 6e | 29 20 64 61 79 20 6e 75 | (Julian|) day nu|
|00001860| 6d 62 65 72 20 64 69 61 | 72 79 20 65 6e 74 72 79 |mber dia|ry entry|
|00001870| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 64 69 |...(defa|lias 'di|
|00001880| 61 72 79 2d 61 73 74 72 | 6f 2d 64 61 79 2d 6e 75 |ary-astr|o-day-nu|
|00001890| 6d 62 65 72 20 23 5b 6e | 69 6c 20 22 c0 c1 c2 0b |mber #[n|il "....|
|000018a0| 21 5c 22 87 22 20 5b 66 | 6f 72 6d 61 74 20 22 41 |!\"." [f|ormat "A|
|000018b0| 73 74 72 6f 6e 6f 6d 69 | 63 61 6c 20 28 4a 75 6c |stronomi|cal (Jul|
|000018c0| 69 61 6e 29 20 64 61 79 | 20 6e 75 6d 62 65 72 20 |ian) day| number |
|000018d0| 25 73 22 20 63 61 6c 65 | 6e 64 61 72 2d 61 73 74 |%s" cale|ndar-ast|
|000018e0| 72 6f 2d 64 61 74 65 2d | 73 74 72 69 6e 67 20 64 |ro-date-|string d|
|000018f0| 61 74 65 5d 20 34 20 28 | 23 24 20 2e 20 36 32 31 |ate] 4 (|#$ . 621|
|00001900| 32 29 5d 29 0a 28 70 72 | 6f 76 69 64 65 20 28 71 |2)]).(pr|ovide (q|
|00001910| 75 6f 74 65 20 63 61 6c | 2d 6a 75 6c 69 61 6e 29 |uote cal|-julian)|
|00001920| 29 0a | |). | |
+--------+-------------------------+-------------------------+--------+--------+